/*
 * @Author: your name
 * @Date: 2021-08-21 22:57:33
 * @LastEditTime: 2021-08-23 17:08:50
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue_study\src\store\mutations.js
 */
const mutations={
    setIsLogin(state,payload){
        state.user.isLogin=payload
    },
    addCart(state,payload){
        state.cartCount=payload.count
    }
}

export default mutations